package com.ruoyi.web.foreigncurrency.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 币种名称对象 foreigncurrency
 * 
 * @author czr
 * @date 2024-09-28
 */
public class Foreigncurrency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自动编号  */
    @Excel(name = "自动编号 ")
    private Long iId;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String cexchName;

    /** 币种编码 */
    @Excel(name = "币种编码")
    private String cexchCode;

    /** 折算方式  */
    @Excel(name = "折算方式 ")
    private Long bcal;

    /** 小数位数  */
    @Excel(name = "小数位数 ")
    private Long idec;

    /** 最大误差  */
    @Excel(name = "最大误差 ")
    private Long nerror;

    /** 是否本位币  */
    @Excel(name = "是否本位币 ")
    private Long iotherused;

    /** 时间戳  */
    @Excel(name = "时间戳 ")
    private String pubufts;

    public void setiId(Long iId) 
    {
        this.iId = iId;
    }

    public Long getiId() 
    {
        return iId;
    }
    public void setCexchName(String cexchName) 
    {
        this.cexchName = cexchName;
    }

    public String getCexchName() 
    {
        return cexchName;
    }
    public void setCexchCode(String cexchCode) 
    {
        this.cexchCode = cexchCode;
    }

    public String getCexchCode() 
    {
        return cexchCode;
    }
    public void setBcal(Long bcal) 
    {
        this.bcal = bcal;
    }

    public Long getBcal() 
    {
        return bcal;
    }
    public void setIdec(Long idec) 
    {
        this.idec = idec;
    }

    public Long getIdec() 
    {
        return idec;
    }
    public void setNerror(Long nerror) 
    {
        this.nerror = nerror;
    }

    public Long getNerror() 
    {
        return nerror;
    }
    public void setIotherused(Long iotherused) 
    {
        this.iotherused = iotherused;
    }

    public Long getIotherused() 
    {
        return iotherused;
    }
    public void setPubufts(String pubufts) 
    {
        this.pubufts = pubufts;
    }

    public String getPubufts() 
    {
        return pubufts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iId", getiId())
            .append("cexchName", getCexchName())
            .append("cexchCode", getCexchCode())
            .append("bcal", getBcal())
            .append("idec", getIdec())
            .append("nerror", getNerror())
            .append("iotherused", getIotherused())
            .append("pubufts", getPubufts())
            .toString();
    }
}
